const login = m => require.ensure([],()=>m(require('@/components/login')),'login')       // 登陆
const likeSex = m => require.ensure([],()=>m(require('@/components/loginChild/likeSex')),'likeSex')       // 选择您喜欢的性别
const sex = m => require.ensure([],()=>m(require('@/components/loginChild/sex')),'sex')       // 选择您喜欢的性别
const index = m => require.ensure([],()=>m(require('@/components/index')),'index')       // 首页
const screening = m => require.ensure([],()=>m(require('@/components/indexChild/screening')),'screening')       // 游戏添加
const list = m => require.ensure([],()=>m(require('@/components/indexChild/list')),'list')          // 列表页
const search = m => require.ensure([],()=>m(require('@/components/indexChild/search')),'search')          // 搜索
const flashOrders = m => require.ensure([],()=>m(require('@/components/indexChild/flashOrders')),'flashOrders')        // 闪电下单
const guide = m => require.ensure([],()=>m(require('@/components/guide')),'guide')        // 引导页
const message = m => require.ensure([],()=>m(require('@/components/indexChild/message')),'message')        // 消息首页
const xtMessage = m => require.ensure([],()=>m(require('@/components/indexChild/xtMessage')),'xtMessage')        // 系统消息
const hdMessage = m => require.ensure([],()=>m(require('@/components/indexChild/hdMessage')),'hdMessage')        // 互动消息
const release = m => require.ensure([],()=>m(require('@/components/indexChild/release')),'release')      // 动态发布
const foundList = m => require.ensure([],()=>m(require('@/components/indexChild/foundList')),'foundList')      // 动态发布
const chat = m => require.ensure([],()=>m(require('@/components/chat/chat')),'chat')      // 聊天界面
const video = m => require.ensure([],()=>m(require('@/components/bannerVideo/video')),'video')      // banner视频页面  
export const logins = [
    {
        path: '/guide',
        name: 'guide',
        component: guide
    },
    {
        path: '/login',
        name: 'login',
        component: login
    },
    {
        path: '/likeSex',
        name: 'likeSex',
        component: likeSex
    },
    {
        path: '/sex',
        name: 'sex',
        component: sex
    },
    {
        path: '/',
        name: 'index',
        component: index,
        meta:{
            keepAlive: true
        }
    },
    {
        path: '/screening',
        name: 'screening',
        component: screening
    },
    {
        path: '/list/:gameName/:gameId',
        name: 'list',
        component: list
    },
    {
        path: '/search',
        name: 'search',
        component: search
    },
    {
        path: '/flashOrders',
        name: 'flashOrders',
        component: flashOrders
    },
    {
        path: '/message',
        name: 'message',
        component: message
    },
    {
        path: '/xtMessage',
        name: 'xtMessage',
        component: xtMessage
    },
    {
        path: '/hdMessage',
        name: 'hdMessage',
        component: hdMessage
    },
    {
        path: '/release',
        name: 'release',
        component: release
    },
    {
        path: '/foundList',
        name: 'foundList',
        component: foundList
    },
    {
        path: '/chat',
        name: 'chat',
        component: chat
    },
    {
        path: '/video',
        name: 'video',
        component: video
    }
]